//
//  Utilities.m
//  ProjectW
//
//  Created by Nguyen Tan Loc on 7/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "Utilities.h"

@implementation Utilities
//
// singleton stuff
//
static Utilities *m_Instant = nil;

+(Utilities*) shareUtilities
{
    if (m_Instant == nil)
        m_Instant = [[Utilities alloc] init];
    return m_Instant;
}

-(int) getRandomWithRange:(int)range withStart:(int)start
{
    return rand() % range + start;
}



@end
